package com.chf.carsystem.users.pojo;
/**
 * 枚举类  用于状态的判断
 * @author Administrator
 *
 */
public enum MyEnum {

	/*枚举项*/
	//user类的枚举项
	USERSTATUS_DiSABLE(Byte.valueOf("0"),"禁用"),
	USERSTATUS_ENABLEN(Byte.valueOf("1"),"启用"),
	
	//role类的枚举项
	ROLESTATUS_DiSABLE(Byte.valueOf("0"),"禁用"),
	ROLESTATUS_ENABLEN(Byte.valueOf("1"),"启用");
	
	
	
	/*枚举类的属性*/
	private byte status;
	private String info;
	
	/*构造器  枚举项要初始化*/
	private MyEnum(byte status, String info) {
		this.status = status;
		this.info = info;
	}
	/*属性的读写器*/
	public byte getStatus() {
		return status;
	}
	
	public void setStatus(byte status) {
		this.status = status;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	
	
	
	
}
